package org.witsoft.localmq.model;

import lombok.Builder;
import lombok.Getter;

/**
 * @ClassName: Message
 * @Description:
 * @Author: Colin
 * @Date: 2020/12/26 5:07 PM
 * @Version 1.0
 **/
@Builder
public class Message {

    @Getter
    private long offset;

    @Getter
    private int segment;

    @Getter
    private int position;

    @Getter
    private byte[] data;
}
